package com.hou.hpsj_springboot.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Videos {
    //视频ID，自增主键
    private long id;
    //发布者ID
    private long userId;
    //视频标题
    private String title;
    //视频文件URL
    private String videoUrl;
    //视频封面URL
    private String coverUrl;
    //视频描述
    private String description;
    //视频时长（秒）
    private long duration;
    //播放量
    private long viewCount;
    //点赞数
    private long likeCount;
    //评论数
    private long commentCount;
    //分享数
    private long shareCount;
    //发布时间
    private LocalDateTime createdAt;
    //更新时间
    private LocalDateTime updatedAt;

}
